﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using PC.AzureMultiApp.Core.Models;
using System.ServiceModel.Channels;

namespace PC.AzureMultiApp.Core
{
    public class DeploymentHostClient : ClientBase<IDeployment>
    {
       
        public DeploymentHostClient(Binding binding, EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public void ExecuteDeployment(ApplicationModel app, bool partialUpdate)
        {
            Channel.Deploy(app, partialUpdate);
        }


    }
}
